/**
 * Created by dell-pc on 2016/3/12.
 */

import edu.cn.nlsde.tmfst.EVA.liblinears;

public class test {
    public static void main(String[] sdd) throws Exception {

//        liblinears.evaluate_svm_format("G:\\intellij\\TopicModelForShortText\\My_LDA\\data\\new-tweet\\idf\\new-tweet.data.idf_svm",5);
//        String[] nams = {
////                "news",
////                "new-tweet",
////                "dblp",
////                "yahooQA",
//                "20newsgroup",
////                "stackoverflow"
//        };
//        String[] methods = {
//                "LDA_0.1_0.01_",
////                "BTM_0.1_0.01_",
////                "unigram_",
////                "GSLDA",
//                "GSLDA_without_background_0.1_0.01_0.3_",
////                "GSLDA_without_background_0.1_0.01_5.0_100",
////                "GSLDA_without_background_0.1_0.01_5.0_100"
//        };
//        for (int topic_num = 60; topic_num < 110; topic_num += 20) {
//            for (String dataname : nams) {
//                String root = "G:/intellij/TopicModelForShortText/My_LDA/data3/" + dataname + "/wntm/";
//                for (String method : methods) {
////                    System.out.println(dataname + " " + method);
//                    System.out.println(dataname + " " + method+topic_num);
//                    for (int i = 0; i < 5; i++) {
//                        String kroot = root + method +topic_num+ "/" + i + "/";
//                        liblinears.evaluate(kroot + "model.theta", root + dataname + ".tag", 5);
//                    }
//                }
//            }
//        }
//        String root = "G:/intellij/TopicModelForShortText/My_LDA/data4/new-tweet/";
//        liblinears.evaluate(root + "My_BTM_0.1_0.01_80/1/model-final.theta",
//                root + "new-tweet.tag", 5);

//        String root = "G:\\intellij\\TopicModelForShortText\\data\\";
//        String[] datalist = {"news","dblp-6","new-tweet","baiduQA"};
//        String[] typelist = {"_ntopic4","_ptng"};
//        for(String data:datalist){
//            System.out.println(data);
//            for(String type:typelist){
//                System.out.println(type);
//                liblinears.evaluate(root+data+"\\"+data+"_theta"+type+".txt",
//                        root+data+"\\" + data+roo+t".tag", 5);
//            }
//        }
        String root = "G:\\intellij\\TopicModelForShortText\\data\\dblp-6\\";
        liblinears.evaluate(root + "GPUDMM\\0\\model-final.pdz", root + "dblp-6.tag", 5);

    }
}








